package com.keyingbo.leran.pattern.observer.guavagper;

/**
 * @Auther: KEYB
 * @Date: 2019-3-19 21:59
 * @Description:
 */
public class GuavaObserveTest {
    public static void main(String[] args) {
        Gper gper = Gper.getInstance();
        Question question = new Question("keyingbo","发布问题11111");
        question.addTeacher(new Teacher("Tom"));
        question.addTeacher(new Teacher("Mic"));
        gper.publishQuestion(question);
    }
}
